package com.xur.springboot.service.impl;

import com.xur.springboot.entity.user_details;
import com.xur.springboot.mapper.user_detailMapper;
import com.xur.springboot.service.user_detailService;
import com.xur.springboot.utils.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

import java.util.List;

@Service
public class user_detailServiceImpl implements user_detailService {

    @Autowired
    private user_detailMapper user_detailMapper;

    @Override
    public List<user_details> queryUser_detailById(int id) {
        return this.user_detailMapper.queryUser_detailById(id);
    }

    @Override
    public int queryIdByuser_id(int user_id) {
        return this.user_detailMapper.queryIdByuser_id(user_id);
    }

    @Override
    public List<Integer> queryIdBycompanies_id(int companies_id) {
        return this.user_detailMapper.queryIdBycompanies_id(companies_id);
    }
}